package com.example.service;

import com.example.dto.ShardUploadCompleteRequest;
import com.example.dto.ShardUploadDetailResponse;
import com.example.dto.ShardUploadInitRequest;
import com.example.dto.ShardUploadPartRequest;

import java.io.IOException;

/*
@description:
@ClassName ShardUploadService
@author chen
@create 2025-05-13 22:49
@Version 1.0
*/
public interface ShardUploadService
{

    String init(ShardUploadInitRequest request);

    void uploadPart(ShardUploadPartRequest request) throws IOException;

    void complete(ShardUploadCompleteRequest request) throws IOException;;

    ShardUploadDetailResponse detail(String shardUploadId);
}
